package com.wn.ziroombackend.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.github.pagehelper.PageInfo;
import com.wn.ziroombackend.entity.Room;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wn.ziroombackend.vo.RoomVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wangzhijia
 * @since 2023-02-27 10:56:29
 */
public interface RoomService extends IService<Room> {

    PageInfo<RoomVo> getRoomList(Integer num, Integer size, String quartersName, String ownerName);

    Room getInfoById(Integer id);
}
